package lab02.test34;

/**
 * Created by 123 on 2017/12/29.
 */
public class Salesman extends Employee{
    private float baseSalary;

    private float deductionSalary;

    public Salesman(float baseSalary, float deductionSalary) {
        this.baseSalary = baseSalary;
        this.deductionSalary = deductionSalary;
    }

    @Override
    float computerSalary() {
        return baseSalary+deductionSalary;
    }

}
